ef78e47fcb2a6e8a8bf7f8f375fcbd0e85634dba,src/test/java/com/xebialabs/overthere/itest/ItestsBase3Copy.java,ItestsBase3Copy,shouldCopyLocalFileToNonExistentRemoteFileWithDifferentName,#,78

Before Change


    @Test
    public void shouldCopyLocalFileToNonExistentRemoteFileWithDifferentName() {
        OverthereFile srcFile = getLocalSourceFile();
        OverthereFile dstFile = getRemoteDestinationFileWithDifferentName();

        populateSourceFile(srcFile);

        srcFile.copyTo(dstFile);

        assertSourceFileWasCopiedToDestinationFile(dstFile);
    }

After Change



    @Test
    public void shouldCopyLocalFileToNonExistentRemoteFileWithDifferentName() {
        shouldCopyToNonExistentFile(getLocalSourceFile(), getRemoteDestinationFileWithDifferentName());
    }

    @Test